#include "allegro.h"
#include "qnote.h"

QNote::QNote()
{
}

QNote::~QNote()
{
}

bool QNote::compare(const QNote& s1, const QNote& s2)
{
	if (s1.ticks != s2.ticks)
	{
		return s1.ticks < s2.ticks;
	}
	else
	{
		if (s1.track != s2.track)
		{
			return s1.track < s2.track;
		}
		else
		{
			return s1.channel < s2.channel;
		}
	}
}
